package com.meetflow.conference.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.meetflow.conference.mapper.MeetFlowActionMapper;
import com.meetflow.conference.domain.MeetFlowAction;
import com.meetflow.conference.service.IMeetFlowActionService;

/**
 * 待办Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-07-15
 */
@Service
public class MeetFlowActionServiceImpl implements IMeetFlowActionService 
{
    @Autowired
    private MeetFlowActionMapper meetFlowActionMapper;

    /**
     * 查询待办
     * 
     * @param id 待办主键
     * @return 待办
     */
    @Override
    public MeetFlowAction selectMeetFlowActionById(Long id)
    {
        return meetFlowActionMapper.selectMeetFlowActionById(id);
    }

    /**
     * 查询待办列表
     * 
     * @param meetFlowAction 待办
     * @return 待办
     */
    @Override
    public List<MeetFlowAction> selectMeetFlowActionList(MeetFlowAction meetFlowAction)
    {
        return meetFlowActionMapper.selectMeetFlowActionList(meetFlowAction);
    }

    /**
     * 新增待办
     * 
     * @param meetFlowAction 待办
     * @return 结果
     */
    @Override
    public int insertMeetFlowAction(MeetFlowAction meetFlowAction)
    {
        return meetFlowActionMapper.insertMeetFlowAction(meetFlowAction);
    }

    /**
     * 修改待办
     * 
     * @param meetFlowAction 待办
     * @return 结果
     */
    @Override
    public int updateMeetFlowAction(MeetFlowAction meetFlowAction)
    {
        return meetFlowActionMapper.updateMeetFlowAction(meetFlowAction);
    }

    /**
     * 批量删除待办
     * 
     * @param ids 需要删除的待办主键
     * @return 结果
     */
    @Override
    public int deleteMeetFlowActionByIds(Long[] ids)
    {
        return meetFlowActionMapper.deleteMeetFlowActionByIds(ids);
    }

    /**
     * 删除待办信息
     * 
     * @param id 待办主键
     * @return 结果
     */
    @Override
    public int deleteMeetFlowActionById(Long id)
    {
        return meetFlowActionMapper.deleteMeetFlowActionById(id);
    }
}
